<?=$this->form ( $this->element->getName (), $this->element->getAttribs (), false ); ?>
<?php
    echo $this->renderElement ( $this->element->codusuario );
    echo $this->renderElement ( $this->element->codcuenta);
?>
<table width="100%"  align="center">
	<tr>
		<td valign="top" width="47%">
		<table width="95%" align="center" class="iceDatTbl zebra">
			<thead>
				<tr>
					<th colspan="3">Informaci&oacute;n b&aacute;sica</th>
				</tr>
			</thead>
			<tr>
				<th><?php
				echo $this->element->cedula->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->cedula );
				echo $this->element->cedula->renderErrors ();
				echo "&nbsp;&nbsp;&nbsp;";
				echo $this->renderElement ( $this->element->tipodocumento );
				echo $this->element->tipodocumento->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->nombres->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->nombres );
				echo $this->element->nombres->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->apellidos->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->apellidos );
				echo $this->element->apellidos->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->genero->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->genero );
				echo $this->element->genero->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->fechanacimiento->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->fechanacimiento );
				echo $this->element->fechanacimiento->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->ubicacionnacimiento->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->ubicacionnacimiento );
				echo $this->renderElement ( $this->element->codubicacionnacimiento );
				echo $this->element->ubicacionnacimiento->renderErrors ();
				echo $this->element->codubicacionnacimiento->renderErrors ();
				?></td>
			</tr>
		</table>
	</td>
	<td></td>
	<td  valign="top">
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Foto</th>
		</tr>
		</thead>
		<tr>
			<th colspan="2">
				<DIV align=center><IMG src="RUTA_FOTO" width="100" height="120"></DIV>
			</th>
		</tr>
    <?php if (! $this->element->isStatic ()) :	?>
		<tr>
			<th><?php
			echo $this->element->archivo->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->archivo );
			echo $this->element->archivo->renderErrors ();
			?></td>
		</tr>
    <?php endif;	?>
	</table>
	</td>
	</tr>
	<tr>
		<td colspan="3">&nbsp;</td>
	</tr>
	<tr>
	<td  valign="top">
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Tel&eacute;fonos - Fax</th>
		</tr>
		</thead>
		<tr>
			<th><?php
			echo $this->element->telefonocelular->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonocelular );
			echo $this->element->telefonocelular->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->telefonoresidencia->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonoresidencia );
			echo $this->element->telefonoresidencia->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->telefonotrabajo->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->telefonotrabajo );
			echo $this->element->telefonotrabajo->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->fax->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->fax );
			echo $this->element->fax->renderErrors ();
			?></td>
		</tr>
	</table>
	</td>
	<td valign="top" width="5%">&nbsp;</td>
	<td valign="top" width="48%">
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Correo electr&oacute;nico</th>
		</tr>
		</thead>
		<tr>
			<th><?php
			echo $this->element->emailexterno->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->emailexterno );
			echo $this->element->emailexterno->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->emailalterno->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->emailalterno );
			echo $this->element->emailalterno->renderErrors ();
			?></td>
		</tr>
	</table>
	<br />
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Direcciones</th>
		</tr>
		</thead>
		<tr>
			<th><?php
			echo $this->element->direccionresidencia->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->direccionresidencia );
			echo $this->element->direccionresidencia->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->ubicacion->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->ubicacion );
			echo $this->renderElement ( $this->element->codubicacion );
			echo $this->element->ubicacion->renderErrors ();
			echo $this->element->codubicacion->renderErrors ();
			?></td>
		</tr>
	</table>
	</td>
	</tr>
	<tr>
		<td colspan="3">&nbsp;</td>
	</tr>
	<tr>
	<td  valign="top">
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Informaci&oacute;n de PAR</th>
		</tr>
		</thead>
		<tr>
			<th><?php
			echo $this->element->fechacapacitacion->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->fechacapacitacion );
			echo $this->element->fechacapacitacion->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->fechadesignacionpar->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->fechadesignacionpar );
			echo $this->element->fechadesignacionpar->renderErrors ();
			?></td>
		</tr>
	</table>
	</td>
	<td></td>
	<td  valign="top">
	<?php
	  $sesionUsuario= new Zend_Session_Namespace("USUARIOS");
	 //if (App_User::getCodigoPadreRol()==Roles_Model_Roles::CODPADRE_IES && !$sesionUsuario->editarmiperfil):
	
	if (App_User::getCodigoUsuario() == $sesionUsuario->codusuario
	    || App_User::getCodigoPadreRol()== Roles_Model_Roles::CODPADRE_ADMIN
		): ?>
	<table width="95%" align="center" class="iceDatTbl zebra">
		<thead>
		<tr>
			<th colspan="2">Informaci&oacute;n de Banco</th>
		</tr>
		</thead>
		<tr>
			<th><?php
			echo $this->element->numero->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->numero );
			echo $this->element->numero->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->tipo->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->tipo );
			echo $this->element->tipo->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->codbanco->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->codbanco );
			echo $this->element->codbanco->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php
			echo $this->element->ubicacionbanco->renderLabel ();
			?></th>
			<td><?php
			echo $this->renderElement ( $this->element->ubicacionbanco );
			echo $this->renderElement ( $this->element->codubicacionbanco );
			echo $this->element->ubicacionbanco->renderErrors ();
			echo $this->element->codubicacionbanco->renderErrors ();
			?></td>
		</tr>
	</table>
	<?php endif; ?>
	</td>
	</tr>
	<tr>
		<td colspan="3">&nbsp;</td>
	</tr>
    <?php
	if (! $this->element->isStatic ()) :
	?>
    <tr>
		<td  class="iceDatTblRow2" colspan="3" align="center">
        <?php
		echo $this->renderElement ( $this->element->btnSubmit );
		?>
        </td>
	</tr>
	<?php
	endif;
	?>
  <tr>
      <td colspan="3"><b>NOTA:</b> Al colocar varios correos utilice una coma "," para separarlos.</td>
  </tr>
</table>
</form>